<template>
  <div id="app">
    <div class="nav-box">
      <nav>
        <router-link to="/">Home</router-link> | <router-link to="/fbx">加载fbx模型</router-link>|
        <router-link to="/gltf">加载gltf模型</router-link>| <router-link to="/objload">加载OBJ模型</router-link>|
      </nav>
    </div>
    <router-view />
  </div>
</template>

<style>
body {
  padding: 0;
  margin: 0;
}
#app {
  /* width: 2200px;
  height: 1200px; */
  /* height: 100%;
  width: 100%; */
  padding: 0;
  margin: 0;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  position: relative;
}
.nav-box {
  position: absolute;
  width: 100%;
  top: 0px;
  text-align: center;
  z-index: 10;
}
nav {
  padding: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
}

nav a.router-link-exact-active {
  color: #42b983;
}
</style>
